package com.qixin.api.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 车源加盟
 * </p>
 *
 * @author 何爱国
 * @since 2018-11-07
 */
@TableName("we_carsource")
public class WeCarsource extends Model<WeCarsource> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 企业名称
     */
	private String enterprise;
    /**
     * 联系人姓名
     */
	private String name;
    /**
     * 联系手机号码
     */
	private Long phone;
    /**
     * 加盟车型
     */
	private String franchise;
    /**
     * 加盟数量
     */
	@TableField("verification")
	private String joinn;
    /**
     * 验证码
     */
	@TableField("verification")
	private String verification;
    /**
     * 车辆名
     */
	@TableField("vehicleName")
    private String vehicleName;
    /**
     * 载重
     */
	private String carload;
    /**
     * 续航
     */
	@TableField("renewal")
	private String renewal;
    /**
     * 轴距
     */
	@TableField("wheelbase")
	private String wheelbase;
    /**
     * 有无保险
     */
	@TableField("insurance")
	private String insurance;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getPhone() {
		return phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public String getFranchise() {
		return franchise;
	}

	public void setFranchise(String franchise) {
		this.franchise = franchise;
	}

	public String getJoinn() {
		return joinn;
	}

	public void setJoinn(String joinn) {
		this.joinn = joinn;
	}

	public String getVerification() {
		return verification;
	}

	public void setVerification(String verification) {
		this.verification = verification;
	}

	public String getVehicleName() {
		return vehicleName;
	}

	public void setVehicleName(String vehicleName) {
		this.vehicleName = vehicleName;
	}

	public String getCarload() {
		return carload;
	}

	public void setCarload(String carload) {
		this.carload = carload;
	}

	public String getRenewal() {
		return renewal;
	}

	public void setRenewal(String renewal) {
		this.renewal = renewal;
	}

	public String getWheelbase() {
		return wheelbase;
	}

	public void setWheelbase(String wheelbase) {
		this.wheelbase = wheelbase;
	}

	public String getInsurance() {
		return insurance;
	}

	public void setInsurance(String insurance) {
		this.insurance = insurance;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WeCarsource{" +
			"id=" + id +
			", enterprise=" + enterprise +
			", name=" + name +
			", phone=" + phone +
			", franchise=" + franchise +
			", joinn=" + joinn +
			", verification=" + verification +
			", vehicleName=" + vehicleName +
			", carload=" + carload +
			", renewal=" + renewal +
			", wheelbase=" + wheelbase +
			", insurance=" + insurance +
			"}";
	}
}
